package com.example.lianguisystem.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.lianguisystem.entity.*;
import com.example.lianguisystem.mapperLianGui.*;
import com.example.lianguisystem.service.LianGuiLabelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LianGuiLabelServiceImpl extends ServiceImpl<LabelMapper, LianGuiLabelRecord> implements LianGuiLabelService {

    @Autowired
    private SSaleMapper sSaleMapper;

    @Autowired
    private SSalechildMapper sSalechildMapper;

    @Autowired
    private SSaledetailMapper sSaledetailMapper;
    @Autowired
    private AmSyslogMapper amSyslogMapper;

    @Override
    public Integer insertIntoSSale(SSale sSale) {
        return sSaleMapper.insert(sSale);
    }

    @Override
    public Integer insertIntoSSalechild(SSalechild sSalechild) {
        return sSalechildMapper.insert(sSalechild);
    }

    @Override
    public Integer insertIntoSSaledetail(SSaledetail sSaledetail) {
        return sSaledetailMapper.insert(sSaledetail);
    }

    @Override
    public Integer insertIntoAmSyslog(AmSyslog amSyslog) {
        return amSyslogMapper.insert(amSyslog);
    }
}
